package com.hm.kafkademo.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Target {
    @JSONField(name = "endFlag")
    private Boolean endFlag;

    @JSONField(name = "globalId")
    private String globalId;

    @JSONField(name = "human")
    private Human human;

    @JSONField(name = "id")
    private Integer id;

    @JSONField(name = "rect")
    private Rect rect;

    @JSONField(name = "segNum")
    private Integer segNum;

    @JSONField(name = "targetSubUrl")
    private String targetSubUrl;

    @JSONField(name = "targetType")
    private ValueObject targetType;
}
